package cn.csc.module.member.api.address.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Api(tags = "RPC 服务 - 用户收件地址 Response DTO")
@Data
public class MemberAddressRespDTO {

    @ApiModelProperty(value = "编号", required = true, example = "1024")
    private Long id;

    @ApiModelProperty(value = "用户编号", required = true, example = "2048")
    private Long userId;

    @ApiModelProperty(value = "收件人名称", required = true, example = "土豆")
    private String name;

    @ApiModelProperty(value = "手机号", required = true, example = "15601691300")
    private String mobile;

    @ApiModelProperty(value = "省ID", required = true, example = "440000")
    private Long provinceId;

    @ApiModelProperty(value = "省", required = true, example = "广东省")
    private String province;

    @ApiModelProperty(value = "市ID", required = true, example = "440300")
    private Long cityId;

    @ApiModelProperty(value = "市", required = true, example = "深圳市")
    private String city;

    @ApiModelProperty(value = "区县编号", required = true, example = "440307")
    private Long areaId;

    @ApiModelProperty(value = "区县", required = true, example = "龙岗区")
    private String area;

    @ApiModelProperty(value = "邮编", required = true, example = "518000")
    private String postCode;

    @ApiModelProperty(value = "收件详细地址", required = true, example = "芋道源码 88 小区 106 号")
    private String detailAddress;

    @ApiModelProperty(value = "是否默认", required = true, example = "true")
    private Boolean defaulted;

}
